package lapsnake.model;

import java.beans.PropertyVetoException;

import lapsnake.model.data.ChildField;

import org.python.antlr.PythonTree;
import org.python.antlr.base.expr;
import org.python.antlr.base.stmt;


/**Ancestor for all statements and expression-statements*/
public abstract class LapStatement extends LapNode {
	public LapStatement(PyAST pyAST, ChildField<?> parentField, PythonTree node) throws PropertyVetoException {
		super(pyAST, parentField, node);
		assert node == null || node instanceof stmt || node instanceof expr;
	}
}
